<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

    </style>
</head>

<body>
    <div>3111111</div>
    <script src="../框架相关的js/vue.js"></script>
    <div id="app">
        <div >
            {{msg}}
        </div>
        <div>
        </div>
        <button @click="ma">点击</button>
        <button @click="ma1">点击</button>
    </div>




    <script>

               


        new Vue({
            el: '#app',
            data: {
                msg:'啊哈哈哈'
            },
            created() {
                console.log(this);
                console.log(11111111111);
            },
            mounted: () => {
                console.log(this);

            },
            methods:{
                ma(){
                    this.msg='ttttttttttt'
                },
                ma1(){
                    this.msg='ttttttttttt'
                },




            }


        })
    </script>
</body>

</html>